package com.px.auditRecord.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModelProperty;
import com.px.common.annotation.Excel;
import com.px.common.core.domain.BaseEntity;

/**
 * 备案航线面对象 for_record_routes_surface
 * 
 * @author WRJ
 * @date 2024-08
 */
public class ForRecordRoutesSurface extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "$column.columnComment")
    private Integer id;

    /** 关联id */
    @ApiModelProperty(value = "关联id")
    @Excel(name = "关联id")
    private Integer forRecordRoutesId;

    /** 名称 */
    @ApiModelProperty(value = "名称")
    @Excel(name = "名称")
    private String name;

    /** 0:面1:线2:面 */
    @ApiModelProperty(value = "0:面1:线2:面")
    @Excel(name = "0:面1:线2:面")
    private Integer type;

    /** 样式 */
    @ApiModelProperty(value = "样式")
    @Excel(name = "样式")
    private String style;

    /** $column.columnComment */
    @ApiModelProperty(value = "$column.columnComment")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal longitude;

    /** $column.columnComment */
    @ApiModelProperty(value = "$column.columnComment")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal latitude;

    /** 长度 */
    @ApiModelProperty(value = "长度")
    @Excel(name = "长度")
    private Long distance;

    /** 面积 */
    @ApiModelProperty(value = "面积")
    @Excel(name = "面积")
    private Long area;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setForRecordRoutesId(Integer forRecordRoutesId) 
    {
        this.forRecordRoutesId = forRecordRoutesId;
    }

    public Integer getForRecordRoutesId() 
    {
        return forRecordRoutesId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setStyle(String style) 
    {
        this.style = style;
    }

    public String getStyle() 
    {
        return style;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
    public void setDistance(Long distance) 
    {
        this.distance = distance;
    }

    public Long getDistance() 
    {
        return distance;
    }
    public void setArea(Long area) 
    {
        this.area = area;
    }

    public Long getArea() 
    {
        return area;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("forRecordRoutesId", getForRecordRoutesId())
            .append("name", getName())
            .append("type", getType())
            .append("style", getStyle())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("distance", getDistance())
            .append("area", getArea())
            .toString();
    }
}
